package com.ruoyi.member.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员评分对象 member_rate
 *
 * @author ruoyi
 * @date 2025-10-28
 */
public class MemberRate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员评分ID */
    private Integer memberRateId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 影视基础ID */
    @Excel(name = "影视基础ID")
    private Integer movieBasicsId;

    /** 评分 */
    @Excel(name = "评分")
    private Integer rate;

    public Integer getMemberRateId()
    {
        return memberRateId;
    }

    public void setMemberRateId(Integer memberRateId)
    {
        this.memberRateId = memberRateId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Integer getMovieBasicsId()
    {
        return movieBasicsId;
    }

    public void setMovieBasicsId(Integer movieBasicsId)
    {
        this.movieBasicsId = movieBasicsId;
    }

    public Integer getRate()
    {
        return rate;
    }

    public void setRate(Integer rate)
    {
        this.rate = rate;
    }

    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("memberRateId", getMemberRateId())
            .append("userId", getUserId())
            .append("movieBasicsId", getMovieBasicsId())
            .append("rate", getRate())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
